<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div>
	<table>
		<tr>
			<td class="profileleftbox">
				<div class="summaryinfobox">
					<table>
						<tr>
							<td class="photobox">
								<div class="photosmall">
									<img alt="" src="photo/${ student.photoId }">
								</div>
							</td>
							<td class="summaryinfo">
								<div class="summaryname"><c:out value="${ student.firstName } ${ student.lastName }" /></div>
								<div class="summarycompany"><c:out value="${ student.currentEmployer }" /></div>
								<div class="summaryuniversity"><c:out value="${ student.graduateSchool }" /></div>
								<div class="summarylocation"><c:out value="${ student.locationPreference }" /></div>
								<div class="summaryidea">
									<strong>Ideas:</strong><c:out value="${ student.pitchCountString }" />
								</div>
							</td>
						</tr>
					</table>
				</div>
				<div class="performancebox">
					<div class="performanceitem">
						Ideas<br /><c:out value="${ student.pitchCountString }" />.
					</div>
					<div class="performanceitem">
						Models<br /><c:out value="${ student.modelCountString }" />.
					</div>
				</div>
				<c:if test="${ student.cvUploaded }">
				<div class="performancebox">
					<strong>CV</strong>
					<div class="cvdownload">
						<a target="_blank" href="cv/${ student.cvId }/${ student.cvFileName}">Download</a>
					</div>
				</div>
				</c:if>
			</td>
			<td class="profilerightbox">
				<div class="subtitle">Basic Information</div>
				<div>
					<table>
						<tr>
							<td class="infotitle">Name:</td>
							<td class="infocontent"><c:out value="${ student.firstName } ${ student.lastName }" /></td>
						</tr>
						<tr>
							<td class="infotitle">School:</td>
							<td class="infocontent"><c:out value="${ student.graduateSchool } ${ student.yearOfGraduation }" /></td>
						</tr>
						<tr>
							<td class="infotitle">Location:</td>
							<td class="infocontent"><c:out value="${ student.locationPreference }" /></td>
						</tr>
					</table>
				</div>
				<div class="subtitle">Professional Information</div>
				<div>
					<table>
						<tr>
							<td class="infotitle">Current Employer:</td>
							<td class="infocontent"><c:out value="${ student.currentEmployer }" /></td>
						</tr>
						<tr>
							<td class="infotitle">Job Title:</td>
							<td class="infocontent"><c:out value="${ student.jobTitle }" /></td>
						</tr>
						<tr>
							<td class="infotitle">Former Employer(s):</td>
							<td class="infocontent"><c:out value="${ student.formerEmployer }" /></td>
						</tr>
						<tr>
							<td class="infotitle">Employer industry:</td>
							<td class="infocontent"><c:out value="${ student.employerIndustry }" /></td>
						</tr>
					</table>
				</div>
				<div class="subtitle">Education Information</div>
				<div>
					<table>
						<tr>
							<td class="infotitle">College:</td>
							<td class="infocontent"><c:out value="${ student.college }" /></td>
						</tr>
					</table>
				</div>
				<div class="subtitle">Contact Information</div>
				<div>
					<table>
						<tr>
							<td class="infotitle">Email:</td>
							<td class="infocontent"><c:out value="${ student.email }" /></td>
						</tr>
					</table>
				</div>
				<div class="subtitle">Career information</div>
				<div>
					<table>
						<tr>
							<td class="infotitle">Career Interest:</td>
							<td class="infocontent">
								<c:forEach var="careerInterest" items="${ student.careerInterests }" varStatus="status">
								<c:out value="${ careerInterest.careerInterest }"></c:out>
								<c:choose>
									<c:when test="${ status.last }">
									</c:when>
									<c:otherwise>
									<br/>
									</c:otherwise>
								</c:choose>
								</c:forEach>
							</td>
						</tr>
						<tr>
							<td class="infotitle">Role Of interest:</td>
							<td class="infocontent">
								<c:out value="${ student.roleOfInterest }"></c:out>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>